Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Laura Zekfreeburynds 17.Oct.03 07:03 PM a Web browser
Applications Development 6.5 Windows 2000


I get the following error:

"DialogBox cannot be used in this context; a document must be selected."

when I select a document and execute the following code:

Sub Initialize
Dim session As New Notessession
Dim ws As New NotesUIWorkspace
Dim db As Notesdatabase
Dim dummy As NotesDocument
Dim flag As Integer

Set db = session.currentDatabase
Set dummy = db.CreateDocument

flag = ws.Dialogbox("(ArchiveDialog)",True,True, False,True,True,False,"Spec Arch Action",dummy)
End Sub

I get the error when the document is highlighted in a view, explicitly selected in a view or open.

The syntax for the dialogbox method was verified in the help doc.

Did they break the DialogBox method in 6.5?






R6.5 Lotuscript DialogBox Method Br... (~Laura Zekfreeb... 17.Oct.03)
. . RE: R6.5 Lotuscript DialogBox Metho... (~Justin Minlute... 17.Oct.03)
. . . . RE: R6.5 Lotuscript DialogBox Metho... (~Umberto Ciskro... 16.Dec.03)
. . RE: R6.5 Lotuscript DialogBox Metho... (~Lily Eljumiber... 27.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS